project(swegl_dxwrapper_vertex_data)

# target file
set(target_file "vertex_data")

# source files
file(GLOB_RECURSE source_files "*.cpp")

# header files
file(GLOB_RECURSE header_files "*.h")

# resource files
file(GLOB_RECURSE resource_files "*.rc")

# create group for visual studio
source_group("res" FILES ${resource_files})
source_group("inc" FILES ${header_files})
source_group("src" FILES ${source_files})

# add include directory to path
add_executable(${target_file} WIN32 ${source_files} ${header_files})
target_link_libraries (${target_file} d3d9 d3dx9 winmm)
